﻿using Project.DAL.OrdersDAL;
using Project.Model;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Project.BLL
{
    public class OrdersBll:BaseBLL<Orders>
    {
         public override void SetDal()
        {
            Dal = new OrdersDAL();
        }   
        public List<Orders> GetUsers(int id)
        {
            var list = base.Query().Where(x => x.OrderNumber == id);
            return list.ToList();
        }

    }   
}
